//
//  AM_TreatyViewController.m
//  AppleMarket
//
//  Created by yangy on 18/10/2018.
//  Copyright © 2018 szgsy. All rights reserved.
//

#import "AM_TreatyViewController.h"

@interface AM_TreatyViewController ()
@property (nonatomic, strong) UIButton *tipButton; // 提示信息
@end

@implementation AM_TreatyViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    self.title = @"";
    
    [self.view addSubview:self.tipButton];
    [_tipButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.center.mas_equalTo(self.view);
    }];
}

- (UIButton *)tipButton
{
    if(!_tipButton){
        _tipButton = [UIButton cm_ButtonWithTitle:@"开发中，敬请期待" font:kFont(15) titleColor:kColorWithHex(0x80878E) image:[UIImage imageNamed:@"developing"]];
        //_tipButton.enabled = NO;
        [_tipButton setImagePosition:Top spacing:27];
    }
    return _tipButton;
}

@end
